package com.credithc.signature.common.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@Table(name = "official_seal_template")
public class OfficialSealTemplate {

    @Column
    Integer id;

    @Column(name = "template_no")
    String templateNo;

    /**
     * TODO:
     * 此字段有坑，原定字段为公章id，先存公章编码，更改原因：提高查询效率
     * 坑如下：公章编码先章过期后需要重新签章，此字段需要更新，现维持此字段为公章编码
     */
    @Column(name = "official_seal_code")
    String officialSealCode;
}
